{include file="header.html"}

<div class="page-header">
	<h6>
		退货、退款审核
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			退货、退款审核
		</small>
	</h6>
</div>
<div class="row">
<div class="col-xs-12">
	<form class="form-horizontal" role="form" method="post" action="?app=order&act=order_check_return_goods" enctype="multipart/form-data">
		<input type="hidden" id="id" name="id" value="{$row->id}" />
		<input type="hidden" id="order_id" name="order_id" value="{$row->order_id}" />
		<input type="hidden" id="type" name="type" value="{$row->type}" />
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="order_sn">订单号</label>
			<div class="col-sm-10">
				<h5><a href="?app=order&act=edit&id={$row->order_id}" target="_blank">{$row->order_sn}</a></h5>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="name">{if $row->type==1}退款{else}退货{/if}人</label>
			<div class="col-sm-10">
				<h5><a href="?app=member&act=edit&id={$row->member_id}" target="_blank">{if $row->name==''}{$row->real_name}{else}{$row->name}{/if}</a></h5>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="name_english"> 类型 </label>
			<div class="col-sm-10">
				<h5>{if $row->type==1}退款{else}退货{/if}</h5>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="name_english"> 金额 </label>
			<div class="col-sm-10">
				<h5>{$row->price}</h5>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="reason"> 退货\退款理由 </label>
			<div class="col-sm-10">
				<h5>{$row->reason}</h5>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="memo"> 退货\退款说明 </label>
			<div class="col-sm-10">
				<h5>{$row->memo}</h5>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="memo"> 退货\退款照片 </label>
			<div class="col-sm-10">
				<div style="line-height: 35px;height:auto;font-size: 16px;">
					{if $row->pic1}<a href="{$row->pic1}" target="_blank"><img src="{$row->pic1}" style="width:100px;height:100px;"></a>{/if}
					{if $row->pic2}<a href="{$row->pic2}" target="_blank"><img src="{$row->pic2}" style="width:100px;height:100px;"></a>{/if}
					{if $row->pic3}<a href="{$row->pic3}" target="_blank"><img src="{$row->pic3}" style="width:100px;height:100px;"></a>{/if}
				</div>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="memo"> 申请时间 </label>
			<div class="col-sm-10">
				<h5>{$row->add_time|date_format:"%Y-%m-%d"}</h5>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="memo"> 状态 </label>
			<div class="col-sm-10">
				<select name="status" style="width: 150px;">
					<option value="0" {if $row->status == 0}selected{/if}>未审核</option>
					<option value="1" {if $row->status == 1}selected{/if}>同意</option>
					<option value="-1" {if $row->status == -1}selected{/if}>不同意</option>
				</select>
			</div>
		</div>
		{if $row->audit_time}
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="memo"> 审核时间 </label>
			<div class="col-sm-10" id="memo">
				<h5>{$row->audit_time|date_format:"%Y-%m-%d"}</h5>
			</div>
		</div>
		{/if}
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="audit_time"> 审核备注 </label>
			<div class="col-sm-10">
				<textarea style="width: 500px;height: 100px;text-align: left;" name="audit_memo" rows="3"id="audit_time">{if $row->audit_memo}{$row->audit_memo}{/if}</textarea>
			</div>
		</div>
		<div class="clearfix form-actions">
			<div class="col-md-offset-3 col-md-9">
				<button class="btn btn-info" type="submit">
					<i class="ace-icon fa fa-check bigger-110"></i>
					提交
				</button>

				&nbsp; &nbsp; &nbsp;
				<button class="btn" type="reset">
					<i class="ace-icon fa fa-undo bigger-110"></i>
					重置
				</button>
			</div>
		</div>
	</form>
</div>
</div>

{include file="footer.html"}